a:visited.subheader_link {
   color: #EEEEEE
}

a:link.subheader_link {
   color: #EEEEEE;
   text-decoration: none
}

a:active.subheader_link {
   color: #EEEEEE
}

a:hover.subheader_link {
   color: #EEEE00;
   padding-top: 7px
}

.page-filters-container {
   align-self: flex-start;
   position: sticky;
   text-align: center;
   width: 250px;
   top: 40px;
   1height: 100%;
   background: #fff;
   border-radius: 10px;
   padding: 10px;
   margin: 10px;
   font-size: 10pt;
}

.ui_field_container {
   display: inline-block;
   position: relative;
   margin: 5px;
   padding: 5px;
   text-align: center;
   font-family: Tahoma;
   font-size: 8pt;
   border: 1px solid #fff;
   border-radius: 5px;
}

.ui_field_selected {
   box-shadow: 2px 2px 3px 0px #777;
   border: 1px solid #ccc;
}

.ui_field_description {
   position: relative;
   color: #777;
   font-family: Tahoma;
   font-size: 8pt;
   white-space: nowrap;
}

.ui_list_close_sign {
   cursor: pointer;
   display: inline-block;
   right: 5;
   position: absolute;
}

.ui_list_selected {
   border: 2px dashed #333;
   background: #ccf;
}

.ui_hand {
   cursor: pointer;
}

/* Строка в выпадающем списке */
.ui_list_item {
   position: relative;
   cursor: pointer;
}

.input_auto_container {
   width: 200;
   background: #eee;
   border: 0px solid #777;
   border-bottom: 1px solid #aaa;
   padding-top: 2px;
   padding-bottom: 2px;
   outline: none;
}

.input_auto {
   background: #fff;
   font-size: 14pt;
   border: 0px solid #000;
   outline: none;
   1background-color: transparent;
   width: calc(100% - 28px);
   border-bottom: 1px solid #777;
   padding-left: 5px;
   padding-right: 5px;
   font-family: Tahoma;
}

.input_auto_button {
   cursor: pointer;
   float: right;
   margin-right: 2px;
   width: 24;
   height: 24;
   border: 0;
   color: #ccc;
   outline: none;
}

.input_auto_button_active {
   color: #000;
}

.input_auto_wrong_value {
   background-color: #faa;
}

/* Контейнер */

.drop_down_list {
   width: 200px;
   margin: 50 auto;
   padding: 10px;
   z-index: 300;
   cursor: pointer;
   background: #fff;
   border: 1px solid #aaa;
   border-radius: 3px;
   text-align: center;
   font-family: Tahoma;
   user-select: none;
}

.material_balance {
   padding-left: 5px;
   padding-right: 5px;
}

.material_balance_deficit {
   background: #f33;
   border-radius: 5px;
   color: #fff;
}

.material_balance_negative {
   color: #ff0;
   background: #f33;
   border-radius: 5px;
}

.red-bold {
   font-weight: bold;
   color: #f00;
}

/* Таблицы с вертикальными линиями для фиксированных заголовков */

.table_fix {
   border-collapse: collapse;
}

.table_fix_header {
   top: 0;
   position: sticky;
   background: #dde;
   border-left: 1px solid #aaa;
   border-right: 1px solid #aaa;
}

.table_fix_body {
   border-left: 1px solid #aaa;
   border-right: 1px solid #aaa;
}

.table_fix_footer {
   position: sticky;
   bottom: 0px;
   background: #dde;
}

/* Ссылка на архив изменений позиции в счёте */
.invoice_archive_link {
   position: sticky;
   bottom: 0px;
   background: #dde;
   background: #0ff;
}

/*********/
/* Сметы */
/*********/

/* Таблица со сметами */
.estimates_table {
   border: 1px solid #aaa;
   border-top: none;
   border-bottom: none;
   font-size: 10pt;
   /* border-collapse: separate; */
}

/*
.table {
    border-collapse: separate;
    border-spacing: var(--border-width);
}

thead {
    position: sticky;
    top: var(--border-width);
}

th, td {
    box-shadow:
        0 0 0
        var(--border-width)
        var(--border-color);
}
*/

/* Закладки для работ */

/* border-radius радиус для верхнего левого, верхнего правого, нижнего правого и нижнего левого уголка */
.estimates_tab {
   background: #eee;
   padding: 5px 10px;
   margin: 0px 3px;
   cursor: pointer;
   top: 0;
   bottom: 0;
   border-radius: 0px 0px 5px 5px;
}

.estimates_tab_active {
   background: #aaa;
}

/* Навигатор по датам со стрелками */
.estimates_payments_month_navigator {
   width: 100%;
   display: flex;
   justify-content: space-between;
}

/* Выбиратор дат для смет */
.estimates_payments_month_selector {
   display: flex;
   justify-content: space-between;
   width: 100%;
}

/* Неактивная стрелка выбора даты */
.estimates_payments_month_navigator_arrow_passive {
   color: #aaa;
}

/* Символ для навигации по месяцам оплат в сметах */
.estimate_payment_navigate_point {
   display: inline-block;
   margin: 2px;
   cursor: pointer;
   user-select: none;
   width: 10px;
   height: 10px;
   background: #0a0;
   border-radius: 50%;
}

.estimate_payment_navigate_point_current {
   background: #0d0;
}

/* Навигатор по месяцам оплат в смете */

.estimates_totals_counter_bar {
   margin: 5px;
}

/* Прокрутка */

.scroll::-webkit-scrollbar {
   width: 3px;
}

.scroll::-webkit-scrollbar-track {
   width: 3px;
   background-color: #aca;
}

.scroll::-webkit-scrollbar-thumb {
   width: 5px;
   background-color: #77f;
}